﻿using DFGK_WMS.Model.Dto;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DFGK.IService.LY
{
    public interface IEquipmentDataStatisticsService
    {
        List<EquipmentSummaryDto> GetEquipment(int pageIndex, int pageSize, out int totalCount);
        //装备数量增减统计
        List<EquipmentChangeDto> GetEquipmentChangeStatistics(string? equipmentType, DateTime? startDate, DateTime? endDate, int pageIndex, int pageSize, out int totalCount);
        //装备按组织单位统计:
        List<UnitEquipmentsDto> GetUnitEquipments(int pageIndex, int pageSize, out int totalCount);
        //装备大数据统计分析:
        List<EquipmentStatisticsDto> GetEquipmentStatistics(DateTime? startDate, DateTime? endDate, int pageIndex, int pageSize, out int totalCount);
        //车辆数量占比统计
        List<VehicleCategoryStatsDto> GetVehicleCategoryStats(int pageIndex, int pageSize, out int totalCount);
        //6.车辆质量状态统计分析显示
        List<VehicleStatusDto> GetVehicleStatusStats(int pageIndex, int pageSize, out int totalCount);
        //7.车辆按组织单位统计显示
        List<VehicleOrganizationStatsDto> GetVehicleOrganizationStats(int pageIndex, int pageSize, out int totalCount);
        //8.车辆采购数据统计分析显示
        List<VehiclePurchaseStatsDto> GetVehiclePurchaseStats(int pageIndex, int pageSize, out int totalCount, DateTime? startDate = null, DateTime? endDate = null);
        //组织单位地图定位统计展示
        List<OrganizationAndStatisticsDto> GetOrganizationAndStatisticsByRegion(string? regionName, DateTime? date = null);
        //10.库房装备数量统计分析
        List<EquipmentAnalysisDto> GetEquipmentAnalysis(DateTime? startDate = null, DateTime? endDate = null);
    }
}
